cc.Class({
    extends: cc.Component,

    properties: {
        wzLabel : cc.Node,
        nextBtn : cc.Node
    },


    onLoad: function () {
        this.wzLabel.scaleY = 0;
        let action = cc.sequence(cc.scaleTo(1,1,1), cc.callFunc(()=>{
            this.nextBtn.active = true;
        }));
        this.wzLabel.runAction(action);

    },

    nextScene() {
        nextScene = 'game_1';
        cc.director.loadScene('Load');
    }
    // called every frame, uncomment this function to activate update callback
    // update: function (dt) {

    // },
});
